#include "absl/log/initialize.h"
#include "absl/log/log.h"
#include "absl/strings/str_format.h"

int main() {
  absl::InitializeLog();
  LOG(INFO) << "Hello, world!";
  LOG(WARNING) << "Something seems fishy.";
  LOG(ERROR) << "Oops, something went wrong.";

  // 支持格式化字符串
  LOG(INFO) << absl::StrFormat("x = %d", 42);

  return 0;
}
